package main;
import controller.*;

public class ChatController {

	private State currentState;
	private ChatNI ni;
	private ChatModel model;
	
	
	public ChatNI getNi() {
		return ni;
	}

	public void setNi(ChatNI ni) {
		this.ni = ni;
	}

	public ChatModel getModel() {
		return model;
	}

	public void setModel(ChatModel model) {
		this.model = model;
	}

	public ChatController(ChatNI ni, ChatModel model) {
		super();
		this.ni = ni;
		this.model = model;
		this.currentState = new Disconnected(this);
	}
	
	public State getCurrentState() {
		return currentState;
	}
	public void setCurrentState(State currentState) {
		this.currentState = currentState;
	}
	
}
